﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TipoCambioListForm.aspx.cs" Inherits="UILGestion.Admin.TipoCambioListForm" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register src="../../Control/menuCtrl.ascx" tagname="menuCtrl" tagprefix="uc1" %>


<%@ Register src="TipoCambioListGrid.ascx" tagname="TipoCambioListGrid" tagprefix="uc2" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>LISTA TIPO CAMBIO</title>
     <link href="../../css/main.css" rel="stylesheet" type="text/css" />
     <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server"  EnablePartialRendering="true">
      </asp:ToolkitScriptManager>
    <uc1:menuCtrl ID="menuCtrl1" runat="server" />
      
 <asp:Panel ID="pnlMain" runat="server"
        CssClass="Heading secTitle AreaHeading ms-crm-List-Header">
        <asp:Label ID="Label1" runat="server" Text="LISTA TIPO DE CAMBIO" style="font-size: large; color: #960818"></asp:Label>
        
  </asp:Panel>
  <asp:Panel ID="Panel2" runat="server"   BackColor="white"  >
 <table cellspacing="1" class="style1" width="100%">
          <tr>
              <td Width="30%">
              <table cellspacing="1" >
              </table>
             </td>
         <td>
 
 <table >
<tr>
<td><asp:Button ID="refreshButton" runat="server" CssClass="ms-crm-List-Header" Text="Actualizar"  Width ="70" onclick="actualizarButton_Click"  Font-Size="X-Small" /></td>

<td>
    <asp:Button ID="nuevoButton" runat="server"  CssClass="ms-crm-List-Header" Text="Nuevo"  onclick="nuevoButton_Click"  Font-Size="X-Small"  /></td>
</tr>
</table></td>
          </tr>
      </table>
        
                  
  </asp:Panel>
  
                  <asp:Panel ID="PanelBody" runat="server"  BackColor="white" >
   
     <input id="idObra" name="idObra" type="hidden" runat="server" />
        <asp:UpdatePanel ID="tipoCambioUpdatePanel" runat="server" UpdateMode="Conditional">
     <ContentTemplate>
       <uc2:TipoCambioListGrid ID="TipoCambioListGrid1" runat="server" DataSourceID="tipoCambioDOS"   />
        <asp:ObjectDataSource ID="tipoCambioDOS" runat="server" EnablePaging="True" 
        SelectCountMethod="Count" SelectMethod="GetTipoCambioList" SortParameterName="sortExpression"
        TypeName="BOL.tipoCambioBL">
         <SelectParameters>
            <asp:Parameter Name="startRowIndex" Type="Int32" />
            <asp:Parameter Name="maximumRows" Type="Int32" />
            <asp:Parameter Name="sortExpression" Type="String" />
        </SelectParameters>


     </asp:ObjectDataSource>

     </ContentTemplate>
     <Triggers>
     <asp:AsyncPostBackTrigger  ControlID="refreshButton"/>
    
     </Triggers>
     </asp:UpdatePanel>
       
   </asp:Panel>
    </form>
</body>
</html>
